package net.wofly.sale.exchange.domain;


import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 兑换消费
 * <ul>
 * 	<li>兑换用于消费时，记录消费流水</li>
 * 	<li>同时减掉其库存</li>
 * 	<li></li>
 * </ul>
 * @author lign
 * @version 1.0
 * @created 28-九月-2017 21:36:37
 */
@Data
@Entity
@Table(name = "sale_exchange_exchangeconsume")
public class ExchangeConsume {

	@Id
	private String exchangeConsumeID;
	/**
	 * 消费数量 
	 */
	private Integer consumeNum;

	private Long modifyDate;
	/**
	 * 订单ID
	 */
	private String orderID;
	/**
	 * 销售ID
	 */
	private String userID;

	public ExchangeConsume(){

	}

}